a={"a":123}
try:
    var = a["b"]
except Exception as e:
    print("error: ",e)

print("---")